package com.jsbs.iam.auth.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

/**
 * @ClassName: IamUserInfoVo
 * @Author: tenghuawei
 * @Date: 2022/12/27 20:04
 * @Description: 菜单树
 */

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MenuThreeVo {

    /**
     * 编码
     */
    private String code;

    /**
     * 名称
     */
    private String name;

    /**
     * 父级编码
     */
    private String parentCode;

    /**
     * 菜单层级
     */
    private Integer menuLevel;

    /**
     * 排序号  index 名称会报错
     */
    private Integer menuIndex;

    /**
     * 子菜单数据集合
     */
    private List<MenuThreeVo> childrenMenus;
}
